package com.hkts.naturalgas.dealt.controller;

import com.hkts.naturalgas.feign.FeignFlow;
import com.hkts.naturalgas.utils.Result;
import com.hkts.naturalgas.utils.ResultUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassNameDealtWork
 * @Description
 * @Author yck
 * @Date2020-12-24 16:12
 * @Version V1.0
 **/
@RestController
@RequestMapping("/performance/dealtWork")
public class DealtWorkController {
    @Autowired
    private FeignFlow feignFlow;
    @RequestMapping("getDealtWork")
    public Result getDealtWork(int pageNum){
        feignFlow.getPerformanceApplyingTasks(pageNum);
        return ResultUtil.data(null);
    }
}
